package com.un.ebs.product.domain;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (ProductBomCostItemExt)表实体类
 *
 * @author liubo
 * @since 2020-11-05 15:51:27
 */
@Data
@Component
@TableName("v_product_bom_cost_item_ext")
@SuppressWarnings("serial")
public class ProductBomCostItemExt extends Model<ProductBomCostItemExt> {

                
    @DbField(name = "id",  length = 40 , precision = 0)
    private String id;
                
    @DbField(name = "sku_id",  length = 40 , precision = 0)
    private String skuId;
                
    @DbField(name = "sku_code",  length = 100 , precision = 0)
    private String skuCode;
                
    @DbField(name = "sku_name",  length = 100 , precision = 0)
    private String skuName;
                
    @DbField(name = "price",  length = 10 , precision = 2)
    private Double price;
                
    @DbField(name = "production_seq_id",  length = 40 , precision = 0)
    private String productionSeqId;
                
    @DbField(name = "buy_min_qty",  length = -1 , precision = 0)
    private Integer buyMinQty;
                
    @DbField(name = "class_id",  length = 40 , precision = 0)
    private String classId;
                
    @DbField(name = "class_name",  length = 40 , precision = 0)
    private String className;
                
    @DbField(name = "production_seq_name",  length = 100 , precision = 0)
    private String productionSeqName;
                
    @DbField(name = "bom_sku_id",  length = 40 , precision = 0)
    private String bomSkuId;
                
    @DbField(name = "bom_user_qty",  length = 18 , precision = 4)
    private Double bomUserQty;
                
    @DbField(name = "bom_sku_code",  length = 100 , precision = 0)
    private String bomSkuCode;
                
    @DbField(name = "bom_sku_name",  length = 100 , precision = 0)
    private String bomSkuName;
                
    @DbField(name = "bom_purchase_type",  length = -1 , precision = 0)
    private Integer bomPurchaseType;
                
    @DbField(name = "bom_buy_min_qty",  length = -1 , precision = 0)
    private Integer bomBuyMinQty;
                
    @DbField(name = "bom_class_name",  length = 40 , precision = 0)
    private String bomClassName;
                
    @DbField(name = "cost_price",  length = 18 , precision = 4)
    private Double costPrice;
                
    @DbField(name = "cost_money",  length = 37 , precision = 8)
    private Double costMoney;
            
    @TableLogic        
    @DbField(name = "is_delete",  length = -1 , precision = 0)
    private Integer isDelete;
                
    @DbField(name = "tenant_id",  length = 40 , precision = 0)
    private String tenantId;
                
    @DbField(name = "bom_type",  length = -1 , precision = 0)
    private Integer bomType;


}